In the performance puzzler, I attributed Benchmark's sane results to the fact that it measures task's steady-state execution profile, as opposed to the initial performance. 在一个性能难题一节中,我指出Benchmark产生更可靠的结果的原因是,它只度量稳定状态下task的执行时间,而不理会最初的性能。
Consider a benchmark that aims to determine the time it takes to access an array element: the task should not create the array. 假设一次基准测试希望度量出访问某个数组元素所用的时间:这个任务应该不用创建数组。
Another approach ( which the Benchmark class uses) is simply to execute the task continuously for a predetermined, reasonably long time. 另一种方法是在一个预先确定的长度合理的时间段内连续执行任务(Benchmark类就使用这种方法)。
This Benchmark constructor executes a task many times, first to ensure code warmup, then to gather execution statistics. Benchmark构造函数多次执行一个任务,首先确保完成代码预热,然后收集执行时间统计数据。
So, I avoided simple code like new Benchmark ( task), which carries out60 measurements ( by default). 因此,我避免使用newBenchmark(task)这样的简单代码(它在默认情况下执行60次度量)。
The only thing you can do is try to clean up the JVM before doing a benchmark, and also try to ensure that GC/ OF that's due to the task itself is fully finished before the measurement ends. 惟一的方法是在执行基准测试之前尝试清理JVM,还要尝试确保任务本身的GC/OF在度量结束前完全完成。
The framework is easy to use for most benchmarking needs: just package the target code into some type of task object ( either a Callable or Runnable) and then make a single call to the Benchmark class. 这个框架很容易满足大多数基准测试需求:只要把目标代码打包成特定类型的任务对象(Callable或Runnable),然后调用Benchmark类。
Our benchmark tests typically measure the efficiency and the speed at which the Domino server performs a certain task. 我们的基准测试通常测量Domino服务器执行特定工作的的效率和速度。
Four known damage cases ( 3 symmetric and 1 asymmetric) for braced structures were analyzed for the analytical benchmark problems proposed by the International Association for Structural Control and the American Society of Civil Engineers ( IASC-ASCE) Task Group on Structural Health Monitoring. 考虑3种对称损伤模式和1种非对称损伤模式,对由国际结构控制协会与美国土木工程学会(IASC-ASCE)提出的健康监测Benchmark模型结构第二阶段有斜撑的情况进行模拟分析。
Belongs to measurement method, the performance benchmark is a well defined task or a set of well defined tasks, which is a test used to evaluate a computer system or component. 性能基准程序法属于测量法,以单个良好定义的任务或者一组任务形式出现,用来度量计算机系统或构件性能的一个测试。
This damage diagnosis was employed to analyze Benchmark model structure proposed by the International Association for Structural Control and the American Society of Civil Engineers ( IASC-ASCE) Task Group on Structural Health Monitoring. 应用该方法对由国际结构控制协会与美国土木工程学会(IASC-ASCE)提出的健康监测Benchmark结构进行了分析。
Therefore, market value has become the new benchmark of capital market; the MVM has become a new task facing listed companies. 因此,市值,已经成为资本市场的新标杆;市值管理,则成为上市公司面临的一个新课题&对市值管理问题的研究具有重大的理论与实践意义。